package xjggb.algorithm.树.红黑树;


import xjggb.algorithm.树.红黑树.printer.BinaryTrees;

public class MainRBTree {
    public static void main(String[] args) {
        Integer data[] = new Integer[] {
                67, 52, 92, 96, 53, 95, 13, 63, 34, 82, 76, 54, 9, 68, 39
        };
        RBTree<Integer> integerRBTree = new RBTree<>();
        for (int i = 0; i < data.length; i++) {
            integerRBTree.add(data[i]);
            System.out.println("【" + data[i] + "】");
            BinaryTrees.println(integerRBTree);
            System.out.println("---------------------------------------");
        }



    }
}
